fMRI acquisition and image analysis